package com.tiger.project.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tiger.common.annotation.Excel;
import com.tiger.common.core.domain.BaseEntity;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;


/**
 * 【建设项目附件】对象 construction_enclosure
 *
 * @author standard
 * @date 2022-09-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "construction_enclosure对象", description = "【建设项目附件】内容")
public class ConstructionEnclosure extends BaseEntity {
private static final long serialVersionUID = 1L;

        @ApiModelProperty(value = "id")
        private Long id;

        /** 建设申请id */
        @Excel(name = "建设申请id")
        @ApiModelProperty(value = "建设申请id")
        private Long constructionApplyId;

        /** 文件名 */
        @Excel(name = "文件名")
        @ApiModelProperty(value = "文件名")
        private String name;

        /** 文件地址 */
        @Excel(name = "文件地址")
        @ApiModelProperty(value = "文件地址")
        private String url;

        /** 创建时间 */
        @JsonFormat(pattern = "yyyy-MM-dd")
        @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
        @ApiModelProperty(value = "创建时间")
        private Date createdAt;


        @ApiModelProperty(value = "原表数据 appkey")
        private String appkey;


        @ApiModelProperty(value = "原表数据 channel")
        private Long channel;


        @ApiModelProperty(value = "原表数据 channel")
        private String creator;


        @ApiModelProperty(value = "原表数据 suborgkey")
        private String suborgkey;

        /** 附件文件大小 */
        @Excel(name = "附件文件大小")
        @ApiModelProperty(value = "附件文件大小")
        private String size;

        /** 1-上传成功 */
        @Excel(name = "1-上传成功")
        @ApiModelProperty(value = "1-上传成功")
        private String state;


}
